/*! For license information please see system.js.LICENSE.txt */ !function(){function e(e,t){return(t||"")+" (SystemJS Error#"+e+" https://github.com/systemjs/systemjs/blob/main/docs/errors.md#"+e+")"}var t,n="undefined"!=typeof Symbol,r="undefined"!=typeof self,i="undefined"!=typeof document,o=r?self:global;if(i){var s=document.querySelector("base[href]");s&&(t=s.href)}if(!t&&"undefined"!=typeof location){var u=(t=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==u&&(t=t.slice(0,u+1))}var c=/\\/g;function a(e,t){if(-1!==e.indexOf("\\")&&(e=e.replace(c,"/")),"/"===e[0]&&"/"===e[1])return t.slice(0,t.indexOf(":")+1)+e;if("."===e[0]&&("/"===e[1]||"."===e[1]&&("/"===e[2]||2===e.length&&(e+="/"))||1===e.length&&(e+="/"))||"/"===e[0]){var n,r=t.slice(0,t.indexOf(":")+1);if(n="/"===t[r.length+1]?"file:"!==r?(n=t.slice(r.length+2)).slice(n.indexOf("/")+1):t.slice(8):t.slice(r.length+("/"===t[r.length])),"/"===e[0])return t.slice(0,t.length-n.length-1)+e;for(var i=n.slice(0,n.lastIndexOf("/")+1)+e,o=[],s=-1,u=0;un.length&&"/"!==r[r.length-1]))return r+e.slice(n.length);v("W2",n,r,"should have a trailing '/'")}}function v(t,n,r,i){console.warn(e(t,"Package target "+i+", resolving target '"+r+"' for "+n))}function m(e,t,n){for(var r=e.scopes,i=n&&h(n,r);i;){var o=p(t,r[i]);if(o)return o;i=h(i.slice(0,i.lastIndexOf("/")),r)}return p(t,e.imports)||-1!==t.indexOf(":")&&t}var g=n&&Symbol.toStringTag,y=n?Symbol():"@";function b(){this[y]={}}var w,S=b.prototype;function E(e){return e.id}function O(e,t,n,r){if(e.onload(n,t.id,t.d&&t.d.map(E),!!r),n)throw n}function x(t,n,r,i){var o=t[y][n];if(o)return o;var s=[],u=Object.create(null);g&&Object.defineProperty(u,g,{value:"Module"});var c=Promise.resolve().then((function(){return t.instantiate(n,r,i)})).then((function(r){if(!r)throw Error(e(2,"Module "+n+" did not instantiate"));var i=r[1]((function(e,t){o.h=!0;var n=!1;if("string"==typeof e)e in u&&u[e]===t||(u[e]=t,n=!0);else{for(var r in e)t=e[r],r in u&&u[r]===t||(u[r]=t,n=!0);e&&e.__esModule&&(u.__esModule=e.__esModule)}if(n)for(var i=0;i-1){var t=document.createEvent("Event");t.initEvent("error",!1,!1),n.dispatchEvent(t)}return Promise.reject(e)}))}else if("systemjs-importmap"===n.type){n.sp=!0;var r=n.src?(System.fetch||fetch)(n.src,{integrity:n.integrity,passThrough:!0}).then((function(e){if(!e.ok)throw Error("Invalid status code: "+e.status);return e.text()})).catch((function(t){return t.message=e("W4","Error fetching systemjs-import map "+n.src)+"\n"+t.message,console.warn(t),"function"==typeof n.onerror&&n.onerror(),"{}"})):n.innerHTML;I=I.then((function(){return r})).then((function(r){!function(t,n,r){var i={};try{i=JSON.parse(n)}catch(t){console.warn(Error(e("W5","systemjs-importmap contains invalid JSON")+"\n\n"+n+"\n"))}d(i,r,t)}(R,r,n.src||t)}))}}))}if(S.prepareImport=function(e){return(W||e)&&(T(),W=!1),I},i&&(T(),window.addEventListener("DOMContentLoaded",T)),S.addImportMap=function(e,n){d(e,n||t,R)},i){window.addEventListener("error",(function(e){N=e.filename,_=e.error}));var A=location.origin}S.createScript=function(e){var t=document.createElement("script");t.async=!0,e.indexOf(A+"/")&&(t.crossOrigin="anonymous");var n=R.integrity[e];return n&&(t.integrity=n),t.src=e,t};var N,_,J={},k=S.register;S.register=function(e,t){if(i&&"loading"===document.readyState&&"string"!=typeof e){var n=document.querySelectorAll("script[src]"),r=n[n.length-1];if(r){r.src,L=e;var o=this;C=setTimeout((function(){J[r.src]=[e,t],o.import(r.src)}))}}else L=void 0;return k.call(this,e,t)},S.instantiate=function(t,n){var r=J[t];if(r)return delete J[t],r;var i=this;return Promise.resolve(S.createScript(t)).then((function(r){return new Promise((function(o,s){r.addEventListener("error",(function(){s(Error(e(3,"Error loading "+t+(n?" from "+n:""))))})),r.addEventListener("load",(function(){if(document.head.removeChild(r),N===t)s(_);else{var e=i.getRegister(t);e&&e[0]===L&&clearTimeout(C),o(e)}})),document.head.appendChild(r)}))}))},S.shouldFetch=function(){return!1},"undefined"!=typeof fetch&&(S.fetch=fetch);var U=S.instantiate,$=/^(text|application)\/(x-)?javascript(;|$)/;S.instantiate=function(t,n,r){var i=this;return this.shouldFetch(t,n,r)?this.fetch(t,{credentials:"same-origin",integrity:R.integrity[t],meta:r}).then((function(r){if(!r.ok)throw Error(e(7,r.status+" "+r.statusText+", loading "+t+(n?" from "+n:"")));var o=r.headers.get("content-type");if(!o||!$.test(o))throw Error(e(4,'Unknown Content-Type "'+o+'", loading '+t+(n?" from "+n:"")));return r.text().then((function(e){return e.indexOf("//# sourceURL=")<0&&(e+="\n//# sourceURL="+t),(0,eval)(e),i.getRegister(t)}))})):U.apply(this,arguments)},S.resolve=function(n,r){return m(R,a(n,r=r||t)||n,r)||function(t,n){throw Error(e(8,"Unable to resolve bare specifier '"+t+(n?"' from "+n:"'")))}(n,r)};var B=S.instantiate;S.instantiate=function(e,t,n){var r=R.depcache[e];if(r)for(var i=0;i